<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <script src="./assets/mui/js/mui.js"></script>
    <!-- 引入字体图标 -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">


    <link rel="stylesheet" href="./css/mybase.css">
    <link rel="stylesheet" href="./css/category.css">
    <script src="./assets/zepto/zepto.min.js"></script>
    <script src="./assets/template.js"></script>

    <script src="./js/category.js"></script>
</head>

<body>
    <header class="mui-bar mui-bar-nav  my-header">
        <a class="mui-icon mui-icon-search  mui-pull-right"></a>
        <h1 class="mui-title my-title">我的乐淘海购</h1>
    </header>



    <!-- 底部 -->
    <nav class="mui-bar mui-bar-tab footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon iconfont icon-gouwuche fa fa-shopping-cart"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>

    <!-- 内容区域 -->

    <div class="mycontent">
        <div class="leftBox">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <div class="lefCate">
                        <!-- <a href="#" class="active">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a>
                        <a href="#">品牌</a> -->
                    </div>


                </div>
            </div>
        </div>
        <div class="rightBox">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <ul class="mui-clearfix  ulBox">
                        <!-- <li>
                            <a href="#">
                                <img src="images/brand1.png" alt="">
                                <span>耐克</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="images/brand2.png" alt="">
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="images/brand3.png" alt="">
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="images/brand4.png" alt="">
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <img src="images/brand5.png" alt="">
                            </a>
                        </li> -->
                    </ul>


                </div>
            </div>
        </div>
    </div>


    <script>
        mui('.mui-scroll-wrapper').scroll({
            deceleration: 0.0005 //flick 减速系数，系数越大，滚动速度越慢，滚动距离越小，默认值0.0006
        });

    </script>


    <!-- {{each 数组  item  key  }} -->
    <!-- {{/each}} -->
    <script type="html/text" id='leftItem'>
        {{each rows  item }}

        <a href="#" data-id={{item.id}}>{{item.categoryName}}</a>
        {{/each}}
</script>


    <script type="html/text" id='rightItem'>
    {{each rows  item  keys}}

   <li>
       <a href="#">
           <img src="{{item.brandLogo}}" alt="">
           <span>{{item.brandName}}</span>
       </a>
   </li>
   {{/each}}

  
</script>
    <!-- brandLogo: "/mobile/images/brand1.png"
brandName: "耐克" -->


</body>

</html>